SQLSTATE[00000] [1040] Too many connections
修改mysql 配置文件(windows下为my.ini, linux下为my.cnf )中的参数
在[mysqld]下添加
set-variable = max_connections=1000
或者
mysql> set global max_connections=10000;
修改mysql 配置文件(windows下为my.ini, linux下为my.cnf )中的参数
在[mysqld]下添加
set-variable = max_connections=1000
或者
mysql> set global max_connections=10000;
这里mysql 事务管理机制,只讲述在mysql 是如何管理事务,不包括存储引擎的实现。当前mysql的存储引擎中只有innodb实现了事务的ACID,并且实现机制和oracle是一致的,主要使用了mvcc的实现理论。
在终端连接到mysql服务器后,执行:
set names UTF8;